//
//  Color.m
//  04-dictionary
//
//  Created by dllo on 16/7/7.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "Color.h"

@implementation Color
-(instancetype)initWithName:(NSString *)name coded:(NSString *)coded
{
    self = [super init];
    if (self) {
        _name = name;
        _coded = coded;
    }
    return self;
}

- (NSString *)description{
    return [NSString stringWithFormat:@"%@ %@", _name, _coded];
}

@end
